//
//  YHOptionTitleTagsTableViewCell.m
//  ScriptKill
//
//  Created by 林宁宁 on 2021/4/29.
//  Copyright © 2021 优智汇. All rights reserved.
//

#import "YHOptionTitleTagsTableViewCell.h"

@implementation YHOptionTitleTagsTableViewCell

-(void)yh_optionInit{

    YHOptionTagsView * tagsView = [YHOptionTagsView config:^(YHOptionTagsConfig * _Nonnull passConfig) {
        passConfig.scrollDirection = UICollectionViewScrollDirectionHorizontal;
        passConfig.space = YHOptionLayout_Space15();
    }];
    self.tagsView = tagsView;
    [self.cellOptionContentView addSubview:tagsView];
    
    [self.tagsView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.equalTo(self.cellOptionContentView);
        make.centerY.equalTo(self.cellOptionContentView);
        make.height.mas_equalTo(25);
    }];
}


@end
